  const myStore = {
    state: {
      dataObj: {}
    },
    mutations: {
        SET_DATAOBJ: (state, obj) => {
            state.dataObj = obj;
        }
    },
    actions: {
        // 获取ws接口返回数据
        getWsData({ commit }, data) {
            // console.log('存储到store数据获取',data);
            commit('SET_DATAOBJ', data)
        },
    }
  };
  export default myStore